//
//  XJGraphLine.m
//  Demo-折线王者
//
//  Created by Silent on 14/10/31.
//  Copyright (c) 2014年 MLF.YiLiao. All rights reserved.
//

#import "XJGraphLine.h"

@implementation XJGraphLine

- (instancetype)init
{
    if (self = [super init]) {
        
        self.lightValueColor = [UIColor redColor];
    }
    return self;
}

-(void)setYAxisValues:(NSArray *)yAxisValues
{
    _yAxisValues = yAxisValues;
}

#pragma mark - 懒加载
- (NSMutableArray *)allValueLabel
{
    if (!_allValueLabel) {
        _allValueLabel = [NSMutableArray array];
    }
    return _allValueLabel;
}

- (void)removeAllValueLabel
{
    for (UIButton *btn in self.allValueLabel) {
        [btn removeFromSuperview];
    }
    [self.allValueLabel removeAllObjects];
}

@end
